package org.zuoye.action;

import org.zuoye.Dao.pingjiaDao;
import org.zuoye.DaoImp.pingjiaDaoimp;

import com.opensymphony.xwork2.ActionSupport;

public class pingjiaAction extends ActionSupport{
	private Integer zyID;
	private String zyPJ;
	public Integer getZyID() {
		return zyID;
	}
	public void setZyID(Integer zyID) {
		this.zyID = zyID;
	}
	public String getZyPJ() {
		return zyPJ;
	}
	public void setZyPJ(String zyPJ) {
		this.zyPJ = zyPJ;
	}
	public String execute() throws Exception{
		pingjiaDao pj=new pingjiaDaoimp();
		pj.addPJ(zyID, zyPJ);
		return SUCCESS;
	}
	
}
